The social network X has increased its in-app revenue over the past year, despite a decline in the number of active users, new data shows. Global consumer spending on X has also shown growth.